﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Events
{
    public partial class _default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            SelectMembership();
        }

        protected void SelectMembership()
        {
            var o = new NENAData.Events.List();
            //RadGrid1.MasterTableView = o.GetAll(true, NENAData.Transactions.TransactionList.Transactions.ConferenceRegina2011);
            //RadGrid1.DataSource = o.GetAll(true, NENAData.Transactions.TransactionList.Transactions.ConferenceRegina2011);            

            GridViewMember.DataSource = o.GetAll(true, NENAData.Transactions.TransactionList.Transactions.ConferenceRegina2012);
            GridViewMember.DataBind();

            GridViewNonMember.DataSource = o.GetAll(false, NENAData.Transactions.TransactionList.Transactions.ConferenceRegina2012);
            GridViewNonMember.DataBind();
            //RadGrid1.DataSource 
            //RadGrid1.DataBind();                
        }
    }
}